package org.jeecg.modules.cw.service;

import org.jeecg.modules.cw.entity.CwPpry;
import org.jeecg.modules.cw.entity.CwPpryTj;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 派遣人员、退休返聘人员、借调人员费用体表
 * @Author: jeecg-boot
 * @Date:   2025-09-08
 * @Version: V1.0
 */
public interface ICwPpryTjService extends IService<CwPpryTj> {

	/**
	 * 添加一对多
	 *
	 * @param cwPpryTj
	 * @param cwPpryList
	 */
	public void saveMain(CwPpryTj cwPpryTj,List<CwPpry> cwPpryList) ;
	
	/**
	 * 修改一对多
	 *
	 * @param cwPpryTj
	 * @param cwPpryList
	 */
	public void updateMain(CwPpryTj cwPpryTj,List<CwPpry> cwPpryList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
